package com.taobao.order.service;

import com.taobao.basic.service.IBaseService;
import com.taobao.basic.util.PageList;
import com.taobao.order.domain.OrderPetAcquisition;
import com.taobao.order.dto.OrderDto;
import com.taobao.order.query.OrderPetAcquisitionQuery;

/**
 * 宠物服务接口
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {


    PageList<OrderPetAcquisition> pageQuery(OrderPetAcquisitionQuery query, Long id);

    /**
     * 订单确认
     * @param dto
     */
    void confirm(OrderDto dto);

    /**
     * 取消订单
     * @param id
     */
    void cancel(Long id);
}